<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="g" uri="http://geni-max.com/tags" %>
<tr>
	<td class="label">备注：</td>
	<td colspan="7">${roomProject.remark}</td>
</tr>
<tr>
	<td class="label">附件：</td>
	<td colspan="7" id="attact">
		<c:forEach var="attachment" items="${roomProject.attachments}" varStatus="status">
			<span id="atta${attachment.id}"><a title="点击下载" href="../attachment/download.action?id=${attachment.id}">${attachment.name}</a><a href="javascript:void(0)" onclick="removeAtta(${attachment.id})"><img border="0" src="../images/deletex.gif" /></a>&nbsp;&nbsp;&nbsp;&nbsp;</span>
		</c:forEach>
	</td>
</tr>
<tr>
	<td class="label">
		<a style="cursor:hand;text-decoration:none;color:#000000;" onclick="document.getElementById('tousu').style.display = (document.getElementById('tousu').style.display == '' ? 'none' : '')">
			<span style="font-weight:bold;">关联投诉信息+</span>
		</a>
	</td>
	<td colspan="7">
		<div id="tousu" style="display:none;margin:0px">
			<table class="tab">
				<tr class="title">
					<td width="16%">投诉工单号</td>
					<td width="12%">用户姓名</td>
					<td width="12%">用户手机号</td>
					<td width="24%">造成投诉原因</td>
					<td width="36%">用户投诉内容</td>
				</tr>
				<c:if test="${fn:length(complaintList) > 0}">
					<c:forEach var="complaint" items="${complaintList}">
						<tr>
							<td class="tcenter">${complaint.imepId}</td>
							<td class="tcenter">${complaint.customerName}</td>
							<td class="tcenter">${complaint.customerMobile}</td>
							<td class="tcenter">${complaint.reason}</td>
							<td class="break">${complaint.complaintContent}</td>
						</tr>
					</c:forEach>
				</c:if>
			</table>
		</div>
	</td>
</tr>
<tr>
	<td class="label">
		<a style="text-decoration:none;color:#000000;" onclick="document.getElementById('operation').style.display = (document.getElementById('operation').style.display == '' ? 'none' : '')" href="../workflow/task!listHistory.action?processInstanceId=${roomProject.processInstanceId}" target="operationc">
			<span style="font-weight:bold;">操作记录+</span>
		</a>
	</td>
	<td colspan="7">
		<div id="operation" style="display:none;margin:0px">
			<iframe id="operationc" name="operationc" width="100%" frameborder="0" onload="this.height = this.contentWindow.document.body.scrollHeight + 20;"></iframe>
		</div>
	</td>
</tr>
<c:if test="${unitName eq '开工批复'}">
<tr>
	<td class="label">导出EXCEL文件：</td>
	<td colspan="7">
		<button type="button" onclick="changeToExcel('${roomProject.id}')">导出成EXCEL文件</button>
	</td>
</tr>
</c:if>